package com.huawei.bitfun.inspections;

import com.huawei.bitfun.visitors.DefaultVisitor;
import com.intellij.codeInspection.LocalInspectionTool;
import com.intellij.codeInspection.ProblemsHolder;
import com.intellij.psi.PsiElementVisitor;
import org.jetbrains.annotations.NotNull;

public class OptInspection extends LocalInspectionTool {
    @Override
    public @NotNull PsiElementVisitor buildVisitor(@NotNull ProblemsHolder holder, boolean isOnTheFly) {
        return new DefaultVisitor(holder);
    }

    @Override
    public boolean isEnabledByDefault() {
        return false;
    }
}